
import React from "react";
import { useRoutes } from "react-router-dom";
const Route = ({ routes }) => {
    let outer = useRoutes(routes)
    return outer
}

const Routers = ({ routes }) => {
    return <Route  routes={routes} />
}

export default Routers;

